package com.xyp.danmu.service;

import com.xyp.danmu.model.Message;

import java.util.List;

/**
 * @author xuyuanpeng
 * @version 1.0
 * @date 2019-02-27 19:01
 */

public interface RedisService {
    public void put(String key, String item, Message message);

    public List<Message> getByKey(String key);

    public Object getByItem(String item);
}
